<template>
	<!-- 无数据 -->
	<view class="text-center" style="padding-top: 300rpx;">
		<image src="../../static/images/noNetwork.png" mode="" style="width: 197rpx;height: 135rpx;"></image>
		<view class="emptyBtn" @click="handleRetry">
			<image src="../../static/images/worning.png" mode=""></image>
			<text>网络异常，点击重试</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			//点击重新加载
			handleRetry(){
				this.$emit('click')
			},
		}
	}
</script>

<style lang="scss">
	.emptyBtn {
		width: 410rpx;
		height: 82rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 2rpx solid #46515E;
		background-color: #181D22;
		margin: 0 auto;
		margin-top: 30rpx;

		image {
			margin-right: 20rpx;
			width: 30rpx;
			height: 30rpx;
		}

		text {
			color: #495461;
			font-size: 28rpx;
		}
	}
</style>
